]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
23 months agodata: Strip .desktop suffix from folder directory
Florian Müllner [Fri, 8 Nov 2024 12:57:58 +0000 (13:57 +0100)]
data: Strip .desktop suffix from folder directory

Desktop directories use .directory as suffix, not .directory.desktop.

The suffix is still needed for the source file, so xgettext and
damned lies can correctly infer the type, but strip it from the
output file.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3541>

23 months agobacklight: Allow operating the keyboard backlight slider by keyboard
Lukáš Tyrychtr [Thu, 7 Nov 2024 12:45:03 +0000 (13:45 +0100)]
backlight: Allow operating the keyboard backlight slider by keyboard

Also, hide its menu item from the a11y tree, similarly to the volume and
other sliders.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6894

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3538>

23 months agostatus/volume: Don't show OSD when initializing
Florian Müllner [Mon, 11 Nov 2024 20:14:42 +0000 (21:14 +0100)]
status/volume: Don't show OSD when initializing

The OSD should only be shown when switching to or from headphones,
not when initializing the volume indicator during startup.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8054
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3543>

23 months agodialog: Wrap titles
Florian Müllner [Thu, 7 Nov 2024 15:23:48 +0000 (16:23 +0100)]
dialog: Wrap titles

Dialogs should not use titles that are too long to fit, but if
they do, wrapping is more appropriate than ellipsizing.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3540>

23 months agoUpdate Russian translation
Artur S0 [Mon, 11 Nov 2024 15:58:05 +0000 (15:58 +0000)]
Update Russian translation

23 months agostatus/volume: Show OSD volume slider on plugging unplugging headphones
Sundeep Mediratta [Wed, 6 Nov 2024 02:52:53 +0000 (21:52 -0500)]
status/volume: Show OSD volume slider on plugging unplugging headphones

OSD Volume popup appears when a user connects or disconnects
earphones/headphones/headsets.

Shows and warns the user that the volume may be set to high
or low when headphones are connected or disconnected.

This is a nice bit of feedback to the user that something has
changed, and something that other platforms do.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7931
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3531>

23 months agostatus/volume: Create global showOSD() method for StreamSlider
Sundeep Mediratta [Wed, 6 Nov 2024 02:47:34 +0000 (21:47 -0500)]
status/volume: Create global showOSD() method for StreamSlider

Abstract the Volume slider OSD display as a global method in the
base class, so that can be reused in all derived classes without
duplicating code.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3531>

23 months agoci: Bump mutter image
Florian Müllner [Fri, 8 Nov 2024 14:17:23 +0000 (15:17 +0100)]
ci: Bump mutter image

Mutter bumped its wayland-prototols requirement, update to the
image that satisfies it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3542>

2 years agoappDisplay: Fix Fonts desktop file name
Daniel Rusek [Mon, 4 Nov 2024 20:30:16 +0000 (20:30 +0000)]
appDisplay: Fix Fonts desktop file name

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3532>

2 years agost: Fix closure annotations
Florian Müllner [Wed, 6 Nov 2024 13:46:31 +0000 (14:46 +0100)]
st: Fix closure annotations

Quoting Ebassi https://www.bassi.io/articles/2023/02/20/bindable-api-2023/:

    Whenever you’re describing a function that takes a callback, you
    should always annotate the callback argument with the argument that
    contains the user data using the (closure argument) annotation

    You should not annotate the data argument with a unary (closure).

    The unary (closure) is meant to be used when annotating the callback
    type

Recently gobject-introspection became a bit more strict with this and
that generated some warnings:

    Warning: St: invalid "closure" annotation: only valid on callback
    parameters

This commit fix all the closure annotations.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3535>

2 years agomagnifier: Use the new get_client_content_rect API
Bilal Elmoussaoui [Mon, 21 Oct 2024 10:39:57 +0000 (12:39 +0200)]
magnifier: Use the new get_client_content_rect API

As we have removed is_client_decorated from Mutter in the last release.
Instead of re-adding it and re-exposing SSD/CSD differences and making
gnome-shell deal with that, we created a new API that does exactly what
is_client_decorated was used for, so switch to using that.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7984

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3522>

2 years agoextensions-app: Add tooltips to icon-only buttons from ExtensionRow
Automeris naranja [Wed, 30 Oct 2024 18:41:32 +0000 (15:41 -0300)]
extensions-app: Add tooltips to icon-only buttons from ExtensionRow

This improves the recognizability of these buttons.

Also, remove the button a11y labels, as Orca
tooltips are also read by Orca.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3529>

2 years agoUpdate Slovenian translation
Martin [Tue, 5 Nov 2024 13:57:42 +0000 (13:57 +0000)]
Update Slovenian translation

2 years agodata: Add X-GNOME-Shell-Utilities.directory file to allow showing real name
Pablo Correa Gómez [Wed, 23 Oct 2024 15:35:21 +0000 (17:35 +0200)]
data: Add X-GNOME-Shell-Utilities.directory file to allow showing real name

Instead of having the name of the directory be X-GNOME-Utilities. This
also allows translating the name to the user's language. The name is
chose to be different to X-GNOME-Utilities from GNOME Menus.

In the process, also remove the categories. The menu definition from
gnome-menus is not used, and it's not a category that apps list
themselves, so it's completely unused anyway.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3526>

2 years agoUpdate Thai translation
Aefgh Threenine [Sat, 2 Nov 2024 08:40:11 +0000 (08:40 +0000)]
Update Thai translation

2 years agoUpdate Serbian translation
Марко Костић [Sat, 2 Nov 2024 05:15:28 +0000 (05:15 +0000)]
Update Serbian translation

(cherry picked from commit 3ff31accf8dec46dfb448654fc2be9b41db94ec9)

2 years agoAdapt to renamed Clutter threading functions
Bilal Elmoussaoui [Sat, 12 Oct 2024 11:11:09 +0000 (13:11 +0200)]
Adapt to renamed Clutter threading functions

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3501>

2 years agoUpdate Russian translation
Artur S0 [Mon, 28 Oct 2024 14:12:57 +0000 (14:12 +0000)]
Update Russian translation

2 years agoUpdate Dutch translation
Nathan Follens [Sun, 27 Oct 2024 22:36:07 +0000 (22:36 +0000)]
Update Dutch translation

(cherry picked from commit c19783fb3bc948ee5f8c5790bd61590f8b1caa13)

2 years agotexture-cache: Add missing cairo include
Bilal Elmoussaoui [Wed, 23 Oct 2024 20:17:10 +0000 (22:17 +0200)]
texture-cache: Add missing cairo include

As the indirect include has been moved in Mutter.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3527>

2 years agoUpdate Belarusian translation
Vasil Pupkin [Tue, 22 Oct 2024 14:22:07 +0000 (14:22 +0000)]
Update Belarusian translation

2 years agoshell/plugin: Stop implementing plugin_info()
Florian Müllner [Mon, 21 Oct 2024 21:23:29 +0000 (23:23 +0200)]
shell/plugin: Stop implementing plugin_info()

The hook would be optional if anything called `meta_plugin_get_info()`,
except that nothing has done so for the last ten years.

It seems a bit pointless to export information that is completely
unused, in particular as we never updated it ("version 0.1"?!),
so just stop doing that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3524>

2 years agost/theme-node-drawing: Don't skip square top left inset shadow corners
Sebastian Keller [Mon, 21 Oct 2024 19:53:14 +0000 (21:53 +0200)]
st/theme-node-drawing: Don't skip square top left inset shadow corners

When the inner radius of the top left corner is 0, the corresponding arc
does not get drawn, resulting in a path going from the bottom left
corner to the top right corner when the path is closed.

Fix this by always including a line_to from the bottom left to the top
left corner.

Fixes: dde13b30c ("st/theme-node-drawing: Trace the correct path for inset box shadows")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7996
2 years agobuild: Use SPDX identifier for license field
Florian Müllner [Mon, 21 Oct 2024 10:32:33 +0000 (12:32 +0200)]
build: Use SPDX identifier for license field

SPDX has become the established standard for expressing FLOSS
licenses, and is what meson itself strongly recommends for the
license field.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3521>

2 years agodocs: Port various parts to gi-docgen annotations
Bilal Elmoussaoui [Mon, 21 Oct 2024 07:55:50 +0000 (09:55 +0200)]
docs: Port various parts to gi-docgen annotations

So they properly show up in the docs.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3518>

2 years agobuild: Stop using appstream-util for metainfo validation
Florian Müllner [Mon, 21 Oct 2024 00:43:24 +0000 (02:43 +0200)]
build: Stop using appstream-util for metainfo validation

Everything, including flathub[0], should be using appstreamcli
now, so stop supporting the old tool as well.

[0] https://docs.flathub.org/blog/improved-build-validation

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3520>

2 years agobuild: Do not require appstream-util for metainfo version check
Florian Müllner [Mon, 21 Oct 2024 00:33:33 +0000 (02:33 +0200)]
build: Do not require appstream-util for metainfo version check

appstream-util is deprecated in favor of appstreamcli. The new tool
does not have a `validate-version` command, so implement the check
in directly in the check-version.py script.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3520>

2 years agoAdapt to exposed CoglSnippetHook
Bilal Elmoussaoui [Mon, 21 Oct 2024 08:25:33 +0000 (10:25 +0200)]
Adapt to exposed CoglSnippetHook

It was exposed few cycles back, so get rid of the duplicated type.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3519>

2 years agoUpdate Friulian translation
Fabio Tomat [Sun, 20 Oct 2024 21:23:57 +0000 (21:23 +0000)]
Update Friulian translation

2 years agoUpdate Interlingua translation
Emilio Sepúlveda [Sat, 19 Oct 2024 23:55:26 +0000 (23:55 +0000)]
Update Interlingua translation

2 years agoUpdate Thai translation
Aefgh Threenine [Sat, 19 Oct 2024 03:11:30 +0000 (03:11 +0000)]
Update Thai translation

2 years agobuild: Rename meson_options.txt to meson.options
Florian Müllner [Fri, 18 Oct 2024 15:22:04 +0000 (17:22 +0200)]
build: Rename meson_options.txt to meson.options

The name is a bit cleaner, and has been the preferred option(!)
since meson 1.1.

Mutter recently updated the name, so follow suite.

The meson version bump shouldn't be an issue, given that several
hard dependencies like mutter and glib already require higher
versions.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3515>

2 years agostyle: Also restore padding for all password entries
Florian Müllner [Fri, 18 Oct 2024 12:36:35 +0000 (14:36 +0200)]
style: Also restore padding for all password entries

Quoting Sam:
  "It is meant to be a general property of password entries
  (same as on .run-dialog-entry) and should be restored harder also."

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3514>

2 years agostyle: Restore password entry width harder
Florian Müllner [Fri, 18 Oct 2024 11:46:07 +0000 (13:46 +0200)]
style: Restore password entry width harder

Commit ee0538807 restored the fixed password entry width, but only
for entries nested under .prompt-dialog-password-layout. That
does not include the network secret dialog, so go back to the
original styling prior to commit 8d065b558e where the width
is set for all password entries, and the mount operation overrides
it with a more specific rule.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3514>

2 years agoUpdate Thai translation
Aefgh Threenine [Fri, 18 Oct 2024 06:23:49 +0000 (06:23 +0000)]
Update Thai translation

(cherry picked from commit bc82a0fa165c92a18bc16552315f30c360e23fcf)

2 years agostyle: Restore password entry width
Florian Müllner [Thu, 17 Oct 2024 17:34:13 +0000 (19:34 +0200)]
style: Restore password entry width

Commit removed the fixed width that is used by polkit/keyring
prompts, with the result that the entries now start at their
natural size, and grow as text is entered.

Restore the original behavior, but nest the style under
.prompt-dialog-password-layout (polkit/keyring) to better
differentiate it from entries under ..prompt-dialog-password-grid
(mount operations).

Fixes: 8d065b558e ("style: Clean up dialogs stylesheet to fix layout issues")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3511>

2 years agoUpdate Slovenian translation
Martin [Wed, 16 Oct 2024 21:40:50 +0000 (21:40 +0000)]
Update Slovenian translation

2 years agostyle: Saner padding and margins in notification headers
Sam Hewitt [Tue, 24 Sep 2024 15:31:27 +0000 (13:01 -0230)]
style: Saner padding and margins in notification headers

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7920
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3486>

2 years agobluetooth: When the placeholder is shown, announce it when reaching the toggle
Lukáš Tyrychtr [Tue, 24 Sep 2024 11:44:15 +0000 (13:44 +0200)]
bluetooth: When the placeholder is shown, announce it when reaching the toggle

Previously, the menu would be just empty, without any indication why.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3485>

2 years agobluetooth: Name the device items for a11y
Lukáš Tyrychtr [Tue, 24 Sep 2024 10:53:17 +0000 (12:53 +0200)]
bluetooth: Name the device items for a11y

By doing that, they're finally announced by a screen reader.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3485>

2 years agostyle: Clean up dialogs stylesheet to fix layout issues
Sam Hewitt [Mon, 16 Sep 2024 14:44:44 +0000 (12:14 -0230)]
style: Clean up dialogs stylesheet to fix layout issues

- remove unnecessary dialog type-specific padding, spacing and margin definitions that led to layout to problems
- bump the size of user avatar in authentication dialog
- nest css classes in the sass to better reflect the structure of dialog elements
- sync style of audio device selector with switcher-popup style
- sync text and padding styles with other elements
- fix incorrect button order in audio selection dialog

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7876
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3473>

2 years agotests: Add extensionUtils unit test
Florian Müllner [Sun, 21 Jan 2024 23:44:40 +0000 (00:44 +0100)]
tests: Add extensionUtils unit test

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3379>

2 years agoextensionSystem: Split out loadExtensionMetadata()
Florian Müllner [Sun, 21 Jan 2024 22:31:31 +0000 (23:31 +0100)]
extensionSystem: Split out loadExtensionMetadata()

There is no need for sharing the functionality, but moving
the code into extensionUtils allows adding unit tests for it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3379>

2 years agoextensionUtils: Include arrays and objects in serialization
Florian Müllner [Thu, 20 Jun 2024 18:46:18 +0000 (20:46 +0200)]
extensionUtils: Include arrays and objects in serialization

We currently only handle simple types when (de)serializing,
which means we miss keys like "shell-version" and "session-modes".

While there is no immediate use for those, handing arrays and
objects will allow to support the newly added "donate" metadata
in the Extensions app in the future.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6575

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3379>

2 years agost: Use macros to generate type boilerplate
Bilal Elmoussaoui [Wed, 16 Oct 2024 10:32:04 +0000 (12:32 +0200)]
st: Use macros to generate type boilerplate

Also mark certain types as final when they are not meant to be used
externally

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3506>

2 years agost/focus-manager: Mark as final type
Bilal Elmoussaoui [Wed, 16 Oct 2024 11:57:48 +0000 (13:57 +0200)]
st/focus-manager: Mark as final type

Nothing can derive this type. Also squeeze in a macro usage for cleanup

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3508>

2 years agost: Remove useless HAVE_CONFIG
Bilal Elmoussaoui [Wed, 16 Oct 2024 11:50:52 +0000 (13:50 +0200)]
st: Remove useless HAVE_CONFIG

That doesn't exists anymore

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>

2 years agoPrefer using pragma once
Bilal Elmoussaoui [Wed, 16 Oct 2024 11:17:21 +0000 (13:17 +0200)]
Prefer using pragma once

Similar to what we did in mutter

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>

2 years agoUse NULL for nick/blurb in GObject params
Bilal Elmoussaoui [Wed, 16 Oct 2024 09:51:23 +0000 (11:51 +0200)]
Use NULL for nick/blurb in GObject params

As they are only used by gstreamer for gst-inspect & other tools.
Projects like Mutter/gtk have completely dropped them as well, so follow
their path

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3505>

2 years agojs: Update Meta.KeyHandlerFunc arguments
Guacamolie [Sun, 13 Oct 2024 13:52:44 +0000 (15:52 +0200)]
js: Update Meta.KeyHandlerFunc arguments

The Meta keybinding API now exposes the Clutter event to GJS, which was
previously hidden due to it being a gpointer. Since this moves the
binding argument one argument to the right on the GJS side, any code
that was using the binding argument needs to be updated.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3502>

2 years agowindowMenu: Add context to screenshot action
Florian Müllner [Tue, 15 Oct 2024 14:08:45 +0000 (16:08 +0200)]
windowMenu: Add context to screenshot action

The string "Take Screenshot" is used both by the action in the
window menu and the screenshot/recording toggle in the UI.

However in some languages, it would be best to use different
strings for the two use cases.

Address this by adding context to the window menu string, so
it can be differentiated from the string in the screenshot UI.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7979
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3503>

2 years agoci: Use `project` include type where possible
Florian Müllner [Tue, 15 Oct 2024 15:18:35 +0000 (17:18 +0200)]
ci: Use `project` include type where possible

No need to pull in templates from the same gitlab instance via
http.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3504>

2 years agostatus/keyboard: Always released held keyboard after activating source
Florian Müllner [Fri, 11 Oct 2024 12:30:44 +0000 (14:30 +0200)]
status/keyboard: Always released held keyboard after activating source

As the keyboard is released asynchronously after setting the ibus
engine, there's a possibility that the `this._reloading` property
changed in the meantime.

To ensure that `holdKeyboard()` and `releaseKeyboard()` are correctly
paired, record the condition in a local variable so that it maintains
its value in the callback.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3476>

2 years agostatus/keyboard: Fix execution order when activating source
Florian Müllner [Thu, 19 Sep 2024 22:33:29 +0000 (00:33 +0200)]
status/keyboard: Fix execution order when activating source

When commit ce89b15bb123d made the code async, it did not only
delay releasing the keyboard until after the engine has been
updated, but also the following code that updates the current
input source.

One result is that the current source is now initialized later,
which breaks any code that relies on the source being set.

This affects the login screen in particular (which uses different
`InputSourceSettings` than the regular session): It fails to come
up entirely if the OSK is enabled.

To fix the issue, use a .then() callback to release the keyboard,
instead of blocking all following code with await.

Fixes: ce89b15bb1 ("ibusManager: Use async await instead of callbacks")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7912
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3476>

2 years agoAdd Faroese translation
Bogi Napoleon Wennerström [Tue, 15 Oct 2024 06:15:09 +0000 (06:15 +0000)]
Add Faroese translation

(cherry picked from commit f68111275143423df1d0a70d54f31347b8891d66)

2 years agoslider: Consider text direction when handling arrow keys
Sundeep Mediratta [Wed, 9 Oct 2024 17:17:30 +0000 (13:17 -0400)]
slider: Consider text direction when handling arrow keys

Currently the right arrow key always increases the slider value,
even in RTL locales where the slider itself increases leftwards.

Fix that, so that the arrow keys always correspond to the
direction of the slider.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7963

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3500>

2 years agoIgnore meson-wrap subprojects
Florian Müllner [Wed, 9 Oct 2024 02:01:02 +0000 (04:01 +0200)]
Ignore meson-wrap subprojects

Both gvc and jasmine-gjs use a subproject wrap, so we never want to
check in the checked out sources.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3499>

2 years agotools/toolbox: Skip install step with --dist
Florian Müllner [Fri, 4 Oct 2024 11:24:46 +0000 (13:24 +0200)]
tools/toolbox: Skip install step with --dist

The dist command only needs an up-to-date build directory, it
does not require the project to be installed first.

While the install step is generally quick, leaving the container
file system alone can save a rebuild after the dist is done
(for instance when testing a branch, then temporarily switching
to the release branch for dist).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3497>

2 years agotools/toolbox: Small refactor
Florian Müllner [Fri, 4 Oct 2024 11:10:35 +0000 (13:10 +0200)]
tools/toolbox: Small refactor

Handing the various options to different meson commands in meson-build
gets a bit tedious. Instead of handling them all on the toplevel,
split out *_command() functions that generate the commandline for
the corresponding meson command.

That way, options are handled locally where they matter, which
makes future changes and additions a bit easier.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3497>

2 years agoci: Improve install-meson-project usage output
Florian Müllner [Fri, 4 Oct 2024 15:12:23 +0000 (17:12 +0200)]
ci: Improve install-meson-project usage output

Most of the options require a parameter, indicate that in the
usage output.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3497>

2 years agoUpdate Friulian translation
Fabio Tomat [Mon, 7 Oct 2024 15:03:25 +0000 (15:03 +0000)]
Update Friulian translation

2 years agoUpdate Kabyle translation
Athmane MOKRAOUI [Mon, 7 Oct 2024 08:40:17 +0000 (08:40 +0000)]
Update Kabyle translation

2 years agoUpdate Kabyle translation
Athmane MOKRAOUI [Sun, 6 Oct 2024 15:31:41 +0000 (15:31 +0000)]
Update Kabyle translation

2 years agoUpdate Kabyle translation
Athmane MOKRAOUI [Sun, 6 Oct 2024 14:00:38 +0000 (14:00 +0000)]
Update Kabyle translation

2 years agoextensionSystem: Catch and log session update errors
Marco Trevisan (Treviño) [Thu, 3 Oct 2024 15:00:20 +0000 (17:00 +0200)]
extensionSystem: Catch and log session update errors

If sessionUpdated() fails we get a js failure but not information about
where the actual problem was, so catch for error properly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3495>

2 years agobuild: Replace cogl-pango with pango dependency
Bilal Elmoussaoui [Wed, 4 Sep 2024 15:14:43 +0000 (17:14 +0200)]
build: Replace cogl-pango with pango dependency

As CoglPango will be merged with Clutter and GNOME Shell
only uses Pango directly, so depend on that instead

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3494>

2 years agobuild: Disable asserts and cast checks
Robert Mader [Tue, 9 Jan 2024 16:32:37 +0000 (17:32 +0100)]
build: Disable asserts and cast checks

For non-debug and non-plain cases - i.e. mainly release builds - in
order to mirror Mutter.

One advantage of doing this is that it allows us to use non-trivial
asserts more generously, such as calling `g_list_length()`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3099>

2 years agoextensions-tool: Remove reference to compiled schemas
Florian Müllner [Sat, 28 Sep 2024 19:59:19 +0000 (21:59 +0200)]
extensions-tool: Remove reference to compiled schemas

Since GNOME 44, schemas are compiled at install time, and the tool
stopped including compiled schemas in GNOME 46.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3490>

2 years agoUpdate Norwegian Bokmål translation
Brage Fuglseth [Tue, 1 Oct 2024 07:06:45 +0000 (07:06 +0000)]
Update Norwegian Bokmål translation

2 years agopopupSwitchMenuItem: Emit correct switch state with toggled signal
Andrew Zaech [Sun, 29 Sep 2024 22:43:15 +0000 (22:43 +0000)]
popupSwitchMenuItem: Emit correct switch state with toggled signal

The toggled signal was incorrectly emitting the pspec instead of the switch state.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7943

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3493>

2 years agost/theme-node-drawing: Trace the correct path for inset box shadows
Daniel van Vugt [Thu, 26 Sep 2024 10:26:21 +0000 (18:26 +0800)]
st/theme-node-drawing: Trace the correct path for inset box shadows

Previously we just copied the outer path and scaled it down, but that
resulted in an inconsistent thickness at the corners because the pivot
points for the arcs also moved inward.

So now we trace the inset path explicitly to maintain the correct
thickness (spread) around all the corners.

The spec actually mentions you need to do it in section 6.1 [1]:

> Note that for inner shadows, expanding the shadow (creating more
> shadow area) means contracting the shadow’s perimeter shape.

Despite the fact the example diagram gets it wrong in section 6.1.1 [2],
it does then follow with more confirmation that the shadow radius should
be reduced:

> To preserve the box’s shape when spread is applied, the corner radii
> of the shadow are also increased (decreased, for inner shadows) from
> the border-box (padding-box) radii by adding (subtracting) the spread
> distance (and flooring at zero).

[1] https://www.w3.org/TR/css-backgrounds-3/#box-shadow
[2] https://www.w3.org/TR/css-backgrounds-3/#shadow-shape

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7913
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3488>

2 years agoUpdate Bengali translation
Mahdi Hasan [Tue, 24 Sep 2024 17:16:54 +0000 (17:16 +0000)]
Update Bengali translation

2 years agoquick-toggle: Make the subtitle the a11y description of the toggle
Lukáš Tyrychtr [Tue, 24 Sep 2024 10:08:47 +0000 (12:08 +0200)]
quick-toggle: Make the subtitle the a11y description of the toggle

By doing that, more info is read by default, like the
connected bluetooth device and likely more.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3484>

2 years agobuild: Bump mutter API version
Florian Müllner [Mon, 23 Sep 2024 11:01:53 +0000 (13:01 +0200)]
build: Bump mutter API version

We have branched, so mutter's API version was bumped for GNOME 48.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3482>

2 years agopadOsd: Don't hardcode blue color
Alice Mikhaylenko [Mon, 23 Sep 2024 00:42:40 +0000 (04:42 +0400)]
padOsd: Don't hardcode blue color

Missed this one, since it's not set from CSS.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3480>

2 years agoquick-slider: Do not allow focusing the icon when it's not reactive
Lukáš Tyrychtr [Mon, 23 Sep 2024 08:47:49 +0000 (10:47 +0200)]
quick-slider: Do not allow focusing the icon when it's not reactive

This hides a disabled unlabeled button from the focus order in the display
brightness status indicator, and may be others.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3481>

2 years agoci: Adjust to dnf5 plugin changes
Florian Müllner [Fri, 20 Sep 2024 19:18:37 +0000 (21:18 +0200)]
ci: Adjust to dnf5 plugin changes

F41 includes dnf5, which involves changes to the config-manager
plugin.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3479>

2 years agoci: Bump mutter image
Florian Müllner [Fri, 20 Sep 2024 18:07:06 +0000 (20:07 +0200)]
ci: Bump mutter image

The image was rebased to F41, pick that up.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3478>

2 years agoquick-slider: Label the menu opening button
Lukáš Tyrychtr [Fri, 20 Sep 2024 13:30:40 +0000 (15:30 +0200)]
quick-slider: Label the menu opening button

One less unlabeled button, that's good.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3477>

2 years agoUpdate Spanish translation
Daniel Mustieles [Wed, 18 Sep 2024 07:27:17 +0000 (07:27 +0000)]
Update Spanish translation

2 years agoUpdate Thai translation
Aefgh Threenine [Tue, 17 Sep 2024 18:40:32 +0000 (18:40 +0000)]
Update Thai translation

2 years agoUpdate Thai translation
Aefgh Threenine [Mon, 16 Sep 2024 15:10:27 +0000 (15:10 +0000)]
Update Thai translation

2 years agoBump version to 47.0
Florian Müllner [Sat, 14 Sep 2024 15:11:01 +0000 (17:11 +0200)]
Bump version to 47.0

Update NEWS.

2 years agoUpdate Thai translation
Aefgh Threenine [Thu, 12 Sep 2024 09:12:23 +0000 (09:12 +0000)]
Update Thai translation

2 years agogdm: Actually wait for pending messages being notified on failures
Marco Trevisan (Treviño) [Tue, 10 Sep 2024 22:22:57 +0000 (00:22 +0200)]
gdm: Actually wait for pending messages being notified on failures

We had code to ensure that all the queued messages sent by a PAM module
were shown by waiting some time to give the user time to read them, but
due to a typo this code never executed.

Fixes commit dd97a2589b8b686f273550f3e9e6ce370b25c10d

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3466>

2 years agoci: Restrict use of "Fixes #123"
Florian Müllner [Tue, 10 Sep 2024 14:53:42 +0000 (16:53 +0200)]
ci: Restrict use of "Fixes #123"

Our convention is to use "Fixes" lines for references commits
(like belated "fixups") and use "closes" for issues.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>

2 years agoci: Extend "closes" rule
Florian Müllner [Tue, 10 Sep 2024 14:12:23 +0000 (16:12 +0200)]
ci: Extend "closes" rule

Gitlab also recognizes variants like "close #123" or "Closed #123".

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>

2 years agoci: Deny a plain "Closes: #123" message in the commit message
Peter Hutterer [Mon, 9 Sep 2024 01:07:08 +0000 (11:07 +1000)]
ci: Deny a plain "Closes: #123" message in the commit message

We need the full link so let's warn contributors about this instead of
having reviewers pointing this out.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>

2 years agoUpdate Hungarian translation
Balázs Úr [Tue, 10 Sep 2024 20:57:58 +0000 (20:57 +0000)]
Update Hungarian translation

2 years agoUpdate Latvian translation
Rūdolfs Mazurs [Tue, 10 Sep 2024 19:31:44 +0000 (19:31 +0000)]
Update Latvian translation

2 years agoUpdate Danish translation
Ask Hjorth Larsen [Sun, 8 Sep 2024 17:01:00 +0000 (17:01 +0000)]
Update Danish translation

2 years agoUpdate British English translation
Andi Chandler [Sun, 8 Sep 2024 12:25:38 +0000 (12:25 +0000)]
Update British English translation

2 years agoUpdate Swedish translation
Anders Jonsson [Fri, 6 Sep 2024 21:07:58 +0000 (21:07 +0000)]
Update Swedish translation

2 years agolocatePointer: Mark the animation as required
Alessandro Bono [Fri, 20 Oct 2023 20:00:59 +0000 (22:00 +0200)]
locatePointer: Mark the animation as required

When the accessibility option "Reduce Animation" is turned on, the
accessibility option "Locate Pointer" stops to work. This is because
the animation is not marked as required. Mark it as such.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7472
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoripples: Allow to specify whether the ripple is required
Alessandro Bono [Fri, 20 Oct 2023 20:00:55 +0000 (22:00 +0200)]
ripples: Allow to specify whether the ripple is required

The ripples are used both for the "Hot Corner" animation and for the
"Locate Pointer" animation. The latter one is an accessibility feature
and should always work, even when animations are disabled. Take this
into account.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoenvironment: Allow marking animations as required
Alessandro Bono [Fri, 20 Oct 2023 20:00:47 +0000 (22:00 +0200)]
environment: Allow marking animations as required

There are cases when we want to mark an animation as required. For
example, we want the "Locate Pointer" animation to work even when
the animation as marked as disabled. Take this into account when
easing an actor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoanimationUtils: Allow marking animations as required
Alessandro Bono [Fri, 20 Oct 2023 20:00:40 +0000 (22:00 +0200)]
animationUtils: Allow marking animations as required

There are cases when we want to mark an animation as required. For
example, we want the "Locate Pointer" animation to work even when
the animation is marked as disabled. Take this into account when
adjusting the animation time.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoenvironment: Adjust optional delay parameter
Alessandro Bono [Fri, 6 Sep 2024 08:47:25 +0000 (10:47 +0200)]
environment: Adjust optional delay parameter

All timing parameters should take the `slow-down-factor` and
`enable-animations` settings into account, but the delay parameter
of property/adjustment animations was forgotten.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoenvironment: Make more explicit what are the default values
Alessandro Bono [Thu, 5 Sep 2024 12:41:30 +0000 (14:41 +0200)]
environment: Make more explicit what are the default values

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoci: Limit sysext-build jobs to x86_64_v3 runners
Martin Abente Lahaye [Fri, 6 Sep 2024 12:05:49 +0000 (08:05 -0400)]
ci: Limit sysext-build jobs to x86_64_v3 runners

We have recently bumped GNOME OS baseline to x86_64_v3 and
this caused issues with x86_64_v2 runners.

See https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1665

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3464>